package com.kantboot.project.file.repository;

import com.kantboot.project.file.entity.CesFileParent;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.Repository;
import org.springframework.data.repository.query.Param;

public interface CesFileParentRepository
        extends
            CrudRepository<CesFileParent,Long>,
            Repository<CesFileParent,Long> {

    CesFileParent findByBodyNameAndBodyField(
            @Param("bodyName") String bodyName,
            @Param("bodyField") String bodyField);

}
